package com.easycms;

import com.easycms.web.monitor.jobutils.JobHelper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

//@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})
@MapperScan("com.easycms.web.*.mapper")
@SpringBootApplication
@EnableScheduling
public class EasycmsBootApplication {

    public static void main(String[] args) {
        SpringApplication.run(EasycmsBootApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  EASYCMS启动成功   ლ(´ڡ`ლ)ﾞ");
        new JobHelper().create();
    }
}
